package com.fingard.dsp.bank.reqrespobj.subaccount.detail;

import com.fingard.text.StringHelper;
import com.fingard.xml.XmlTextWriter;

/**
 * @Description TODO
 * @Author xtt
 * @Date $ $
 **/
public class RetAtsSubAccountDetail {

    //序号
    public String serialNo;

    //供应商名称
    public String customerName;

    //供应商英文名
    public String customerNameEn;

    //子账户
    public String subAccount;

    //供应商客户号
    public String customerNo;

    //联系人1姓名
    public String contactName1;

    //联系人1手机号
    public String contactTel1;

    //联系人1电子邮箱
    public String contactEmail1;

    //联系人2姓名
    public String contactName2;

    //联系人2手机号
    public String contactTel2;

    //联系人2电子邮箱
    public String contactEmail2;

    //收款人模式 1-外综平台类企业 2-外综平台类企业+上游供应商 3-上游供应商
    public String mode;

    //状态 1：生效，0：失效
    public String status;

    public String respCode;
    public String respInfo;


    public void writeXE(XmlTextWriter p_writer) {
        p_writer.writeElementString("RespCode", respCode);
        p_writer.writeElementString("RespInfo", respInfo);
        p_writer.writeElementString("SerialNo", serialNo);
        p_writer.writeElementString("CustomerName", customerName);
        p_writer.writeElementString("CustomerNameEn", customerNameEn);
        p_writer.writeElementString("SubAccount", subAccount);
        p_writer.writeElementString("CustomerNo", customerNo);
        p_writer.writeElementString("ContactName1", contactName1);
        p_writer.writeElementString("ContactTel1", contactTel1);
        p_writer.writeElementString("ContactEmail1", contactEmail1);
        p_writer.writeElementString("ContactName2", contactName2);
        p_writer.writeElementString("ContactTel2", contactTel2);
        p_writer.writeElementString("ContactEmail2", contactEmail2);
        p_writer.writeElementString("Mode", mode);
        p_writer.writeElementString("Status", status);
    }
}
